<?php #//AJAX PHP PENNY AUCTION v.1.1

#///////////////////////////////////////////////////////////
#//  COPYRIGHT 2009 Aaron Helmlinger ALL RIGHTS RESERVED  //
#///////////////////////////////////////////////////////////
?>


<BR>
<table width="95%" border=0 cellpadding=4 cellspacing=1 align=center>
<TR>
<TD>
<FIELDSET><LEGEND>

<span class=PAGE_HEADER >&nbsp;Win History&nbsp;</span>
</LEGEND> 
<P>


    <?
    if(is_array($AUCTIONS)) {
    	foreach($AUCTIONS as $k=>$v) 
     if ($BID[$k] > $RESERVE_PRICE[$k]) { 
      
      {
	?>
	<table width="99%" border="0" cellspacing="0" cellpadding="4" align=center>
    <tr valign="TOP" BGCOLOR=#3c5a00>
        <td width=70%>
            <b><a href=item.php?id=<?=$k?> target=_blank>
            <FONT color=#ffffff><?=$v?></font>
            </a></b><BR> <FONT color=#ffffff size=-1>(ID: <a href=item.php?id=<?=$k?> target=_blank>
            <FONT color=#ffffff><?=$k?></font>
            </a> -
            <?=$MSG_25_0121." ".FormatDate($AUCTIONS_ENDS[$k])?>
            ) </font></td><TD width=30% align=right><FONT color=#ffffff>Final Bid: <? print $currency_symbol;print print_money_nosymbol($BID[$k]); print " ".$currency; ?></FONT>
            
            </td>
    </tr>
    </TABLE>
    
 
 <table width="99%" border="0" cellspacing="0" cellpadding="4" align=center>
    <tr valign=top>
        <td width="30%" >
        

            <FONT color=#666666 size=-1>Seller Info:</font> <B> <?=$SELLER_NICK[$k]?></B>
<BR>
    <?=(!empty($SELL_FDB[$k])?"<A HREF=\"feedback.php?auction_id=$k&id=".$SELL_FDB[$k]."\"><FONT size=-1>$MSG_207</FONT></A>":"")?>
    </TD><TD width=40%>
            <FONT color=#666666 size=-1>Email: <a href=mailto:<?=$SELLER_EMAIL[$k]?>>
            <?=$SELLER_EMAIL[$k]?></A> <BR>
            Phone #: (615) 750-2379 </font>
        </td>
        
        
   
        
        <td width="30%" align=right>

    <?      if($AUCTIONS_PAID[$k] == 0)  {  ?>
    
<B><A HREF="auction_payment.php?id=<?=$k?>"><span class=BOLDTEXT><font color=red>Make Payment</font></span></A></B>       
                         
                         <? } ?>
                         
          <?      if($AUCTIONS_PAID[$k] == 1)  {    ?>
<B><A HREF="">Paid</A></B>       
                       <? } ?>
                          
        </td>
    
 
    </tr>
    
</table>

 
 
		<BR>


    <? }
    	}
    }
	?>


</FIELDSET>
</TD>
</TR>
</TABLE>




